import request from "@/utils/request";

// 获取分类信息
export function getClassify(params) {
  return request({
    url: "category/page",
    method: "get",
    params,
  });
}

export function addClassify(data) {
  return request({
    url: "category",
    method: "post",
    data,
  });
}

export function addMenuClassify(data) {
  return request({
    url: "category",
    method: "post",
    data,
  });
}
